package com.example.kugou.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 歌手与歌曲的关系表
 */
@ApiModel("歌手与歌曲的关系表")
public class Yanchang {
    /**
     * 演唱id
     */
    @ApiModelProperty("演唱id")
    private Integer yid;
    /**
     * 歌曲表
     */
    @ApiModelProperty("对应歌曲")
    private Integer swid;
    /**
     * 歌手表
     */
    @ApiModelProperty("对应歌手")
    private Integer rwid;

    private Personal_data personal_datal;

    private Singer singer;

    public Personal_data getPersonal_datal() {
        return personal_datal;
    }

    public void setPersonal_datal(Personal_data personal_datal) {
        this.personal_datal = personal_datal;
    }

    public Singer getSinger() {
        return singer;
    }

    public void setSinger(Singer singer) {
        this.singer = singer;
    }

    public Yanchang(Integer yid, Integer swid, Integer rwid) {
        this.yid = yid;
        this.swid = swid;
        this.rwid = rwid;
    }

    public Yanchang() {
    }

    public Integer getYid() {
        return yid;
    }

    public void setYid(Integer yid) {
        this.yid = yid;
    }

    public Integer getSwid() {
        return swid;
    }

    public void setSwid(Integer swid) {
        this.swid = swid;
    }

    public Integer getRwid() {
        return rwid;
    }

    public void setRwid(Integer rwid) {
        this.rwid = rwid;
    }

    @Override
    public String toString() {
        return "Yanchang{" +
                "yid=" + yid +
                ", swid=" + swid +
                ", rwid=" + rwid +
                '}';
    }
}
